<%-- 
    Document   : internships
    Created on : 27 nov. 2014, 20:49:32
    Author     : metbill
--%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <fieldset><legend>Internship list </legend>
<c:forEach var="current" items="${offers}" >
    <h3>${current.title}</h3> 
    <p > ${current.description}</p>
    <div class="row">
        <div class="col-lg-4">
            <span> <b>Date : </b> ${current.startDate}</span>
        </div>
        <div class="col-lg-4">
            <span> <b>Duration :</b> ${current.duration} </span>
        </div>
        <div class="col-lg-4">
            <!--<a href="/WebApp/applications" type="button" class="btn btn-primary">Applications</a>--> 
            <form class="navbar-form navbar-left" role="applications" method="get" action="/WebApp/applications">
                <input type="hidden" name="internshipID" value="${current.internshipID}" />
                <input type="submit" value="Applications" class="btn btn-primary"  >
            </form>
        </div>
        
    </div>
    
    <!-- <p> <input type="button" value="Details" class="btn btn-primary"></p> -->
</c:forEach>